package com.suyuan.entity;

import java.util.ArrayList;
import java.util.List;

public class OrderitemInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderitemInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderitemidIsNull() {
            addCriterion("OrderItemID is null");
            return (Criteria) this;
        }

        public Criteria andOrderitemidIsNotNull() {
            addCriterion("OrderItemID is not null");
            return (Criteria) this;
        }

        public Criteria andOrderitemidEqualTo(Integer value) {
            addCriterion("OrderItemID =", value, "orderitemid");
            return (Criteria) this;
        }

        public Criteria andOrderitemidNotEqualTo(Integer value) {
            addCriterion("OrderItemID <>", value, "orderitemid");
            return (Criteria) this;
        }

        public Criteria andOrderitemidGreaterThan(Integer value) {
            addCriterion("OrderItemID >", value, "orderitemid");
            return (Criteria) this;
        }

        public Criteria andOrderitemidGreaterThanOrEqualTo(Integer value) {
            addCriterion("OrderItemID >=", value, "orderitemid");
            return (Criteria) this;
        }

        public Criteria andOrderitemidLessThan(Integer value) {
            addCriterion("OrderItemID <", value, "orderitemid");
            return (Criteria) this;
        }

        public Criteria andOrderitemidLessThanOrEqualTo(Integer value) {
            addCriterion("OrderItemID <=", value, "orderitemid");
            return (Criteria) this;
        }

        public Criteria andOrderitemidIn(List<Integer> values) {
            addCriterion("OrderItemID in", values, "orderitemid");
            return (Criteria) this;
        }

        public Criteria andOrderitemidNotIn(List<Integer> values) {
            addCriterion("OrderItemID not in", values, "orderitemid");
            return (Criteria) this;
        }

        public Criteria andOrderitemidBetween(Integer value1, Integer value2) {
            addCriterion("OrderItemID between", value1, value2, "orderitemid");
            return (Criteria) this;
        }

        public Criteria andOrderitemidNotBetween(Integer value1, Integer value2) {
            addCriterion("OrderItemID not between", value1, value2, "orderitemid");
            return (Criteria) this;
        }

        public Criteria andOrderidIsNull() {
            addCriterion("OrderID is null");
            return (Criteria) this;
        }

        public Criteria andOrderidIsNotNull() {
            addCriterion("OrderID is not null");
            return (Criteria) this;
        }

        public Criteria andOrderidEqualTo(Integer value) {
            addCriterion("OrderID =", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotEqualTo(Integer value) {
            addCriterion("OrderID <>", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidGreaterThan(Integer value) {
            addCriterion("OrderID >", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidGreaterThanOrEqualTo(Integer value) {
            addCriterion("OrderID >=", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLessThan(Integer value) {
            addCriterion("OrderID <", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLessThanOrEqualTo(Integer value) {
            addCriterion("OrderID <=", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidIn(List<Integer> values) {
            addCriterion("OrderID in", values, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotIn(List<Integer> values) {
            addCriterion("OrderID not in", values, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidBetween(Integer value1, Integer value2) {
            addCriterion("OrderID between", value1, value2, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotBetween(Integer value1, Integer value2) {
            addCriterion("OrderID not between", value1, value2, "orderid");
            return (Criteria) this;
        }

        public Criteria andCompidIsNull() {
            addCriterion("CompID is null");
            return (Criteria) this;
        }

        public Criteria andCompidIsNotNull() {
            addCriterion("CompID is not null");
            return (Criteria) this;
        }

        public Criteria andCompidEqualTo(Integer value) {
            addCriterion("CompID =", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidNotEqualTo(Integer value) {
            addCriterion("CompID <>", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidGreaterThan(Integer value) {
            addCriterion("CompID >", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidGreaterThanOrEqualTo(Integer value) {
            addCriterion("CompID >=", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidLessThan(Integer value) {
            addCriterion("CompID <", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidLessThanOrEqualTo(Integer value) {
            addCriterion("CompID <=", value, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidIn(List<Integer> values) {
            addCriterion("CompID in", values, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidNotIn(List<Integer> values) {
            addCriterion("CompID not in", values, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidBetween(Integer value1, Integer value2) {
            addCriterion("CompID between", value1, value2, "compid");
            return (Criteria) this;
        }

        public Criteria andCompidNotBetween(Integer value1, Integer value2) {
            addCriterion("CompID not between", value1, value2, "compid");
            return (Criteria) this;
        }

        public Criteria andProductidIsNull() {
            addCriterion("productID is null");
            return (Criteria) this;
        }

        public Criteria andProductidIsNotNull() {
            addCriterion("productID is not null");
            return (Criteria) this;
        }

        public Criteria andProductidEqualTo(Integer value) {
            addCriterion("productID =", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidNotEqualTo(Integer value) {
            addCriterion("productID <>", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidGreaterThan(Integer value) {
            addCriterion("productID >", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidGreaterThanOrEqualTo(Integer value) {
            addCriterion("productID >=", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidLessThan(Integer value) {
            addCriterion("productID <", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidLessThanOrEqualTo(Integer value) {
            addCriterion("productID <=", value, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidIn(List<Integer> values) {
            addCriterion("productID in", values, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidNotIn(List<Integer> values) {
            addCriterion("productID not in", values, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidBetween(Integer value1, Integer value2) {
            addCriterion("productID between", value1, value2, "productid");
            return (Criteria) this;
        }

        public Criteria andProductidNotBetween(Integer value1, Integer value2) {
            addCriterion("productID not between", value1, value2, "productid");
            return (Criteria) this;
        }

        public Criteria andProccountIsNull() {
            addCriterion("ProcCount is null");
            return (Criteria) this;
        }

        public Criteria andProccountIsNotNull() {
            addCriterion("ProcCount is not null");
            return (Criteria) this;
        }

        public Criteria andProccountEqualTo(Float value) {
            addCriterion("ProcCount =", value, "proccount");
            return (Criteria) this;
        }

        public Criteria andProccountNotEqualTo(Float value) {
            addCriterion("ProcCount <>", value, "proccount");
            return (Criteria) this;
        }

        public Criteria andProccountGreaterThan(Float value) {
            addCriterion("ProcCount >", value, "proccount");
            return (Criteria) this;
        }

        public Criteria andProccountGreaterThanOrEqualTo(Float value) {
            addCriterion("ProcCount >=", value, "proccount");
            return (Criteria) this;
        }

        public Criteria andProccountLessThan(Float value) {
            addCriterion("ProcCount <", value, "proccount");
            return (Criteria) this;
        }

        public Criteria andProccountLessThanOrEqualTo(Float value) {
            addCriterion("ProcCount <=", value, "proccount");
            return (Criteria) this;
        }

        public Criteria andProccountIn(List<Float> values) {
            addCriterion("ProcCount in", values, "proccount");
            return (Criteria) this;
        }

        public Criteria andProccountNotIn(List<Float> values) {
            addCriterion("ProcCount not in", values, "proccount");
            return (Criteria) this;
        }

        public Criteria andProccountBetween(Float value1, Float value2) {
            addCriterion("ProcCount between", value1, value2, "proccount");
            return (Criteria) this;
        }

        public Criteria andProccountNotBetween(Float value1, Float value2) {
            addCriterion("ProcCount not between", value1, value2, "proccount");
            return (Criteria) this;
        }

        public Criteria andProceunitIsNull() {
            addCriterion("ProceUnit is null");
            return (Criteria) this;
        }

        public Criteria andProceunitIsNotNull() {
            addCriterion("ProceUnit is not null");
            return (Criteria) this;
        }

        public Criteria andProceunitEqualTo(String value) {
            addCriterion("ProceUnit =", value, "proceunit");
            return (Criteria) this;
        }

        public Criteria andProceunitNotEqualTo(String value) {
            addCriterion("ProceUnit <>", value, "proceunit");
            return (Criteria) this;
        }

        public Criteria andProceunitGreaterThan(String value) {
            addCriterion("ProceUnit >", value, "proceunit");
            return (Criteria) this;
        }

        public Criteria andProceunitGreaterThanOrEqualTo(String value) {
            addCriterion("ProceUnit >=", value, "proceunit");
            return (Criteria) this;
        }

        public Criteria andProceunitLessThan(String value) {
            addCriterion("ProceUnit <", value, "proceunit");
            return (Criteria) this;
        }

        public Criteria andProceunitLessThanOrEqualTo(String value) {
            addCriterion("ProceUnit <=", value, "proceunit");
            return (Criteria) this;
        }

        public Criteria andProceunitLike(String value) {
            addCriterion("ProceUnit like", value, "proceunit");
            return (Criteria) this;
        }

        public Criteria andProceunitNotLike(String value) {
            addCriterion("ProceUnit not like", value, "proceunit");
            return (Criteria) this;
        }

        public Criteria andProceunitIn(List<String> values) {
            addCriterion("ProceUnit in", values, "proceunit");
            return (Criteria) this;
        }

        public Criteria andProceunitNotIn(List<String> values) {
            addCriterion("ProceUnit not in", values, "proceunit");
            return (Criteria) this;
        }

        public Criteria andProceunitBetween(String value1, String value2) {
            addCriterion("ProceUnit between", value1, value2, "proceunit");
            return (Criteria) this;
        }

        public Criteria andProceunitNotBetween(String value1, String value2) {
            addCriterion("ProceUnit not between", value1, value2, "proceunit");
            return (Criteria) this;
        }

        public Criteria andProcpriceIsNull() {
            addCriterion("ProcPrice is null");
            return (Criteria) this;
        }

        public Criteria andProcpriceIsNotNull() {
            addCriterion("ProcPrice is not null");
            return (Criteria) this;
        }

        public Criteria andProcpriceEqualTo(Float value) {
            addCriterion("ProcPrice =", value, "procprice");
            return (Criteria) this;
        }

        public Criteria andProcpriceNotEqualTo(Float value) {
            addCriterion("ProcPrice <>", value, "procprice");
            return (Criteria) this;
        }

        public Criteria andProcpriceGreaterThan(Float value) {
            addCriterion("ProcPrice >", value, "procprice");
            return (Criteria) this;
        }

        public Criteria andProcpriceGreaterThanOrEqualTo(Float value) {
            addCriterion("ProcPrice >=", value, "procprice");
            return (Criteria) this;
        }

        public Criteria andProcpriceLessThan(Float value) {
            addCriterion("ProcPrice <", value, "procprice");
            return (Criteria) this;
        }

        public Criteria andProcpriceLessThanOrEqualTo(Float value) {
            addCriterion("ProcPrice <=", value, "procprice");
            return (Criteria) this;
        }

        public Criteria andProcpriceIn(List<Float> values) {
            addCriterion("ProcPrice in", values, "procprice");
            return (Criteria) this;
        }

        public Criteria andProcpriceNotIn(List<Float> values) {
            addCriterion("ProcPrice not in", values, "procprice");
            return (Criteria) this;
        }

        public Criteria andProcpriceBetween(Float value1, Float value2) {
            addCriterion("ProcPrice between", value1, value2, "procprice");
            return (Criteria) this;
        }

        public Criteria andProcpriceNotBetween(Float value1, Float value2) {
            addCriterion("ProcPrice not between", value1, value2, "procprice");
            return (Criteria) this;
        }

        public Criteria andProcamountIsNull() {
            addCriterion("ProcAmount is null");
            return (Criteria) this;
        }

        public Criteria andProcamountIsNotNull() {
            addCriterion("ProcAmount is not null");
            return (Criteria) this;
        }

        public Criteria andProcamountEqualTo(Float value) {
            addCriterion("ProcAmount =", value, "procamount");
            return (Criteria) this;
        }

        public Criteria andProcamountNotEqualTo(Float value) {
            addCriterion("ProcAmount <>", value, "procamount");
            return (Criteria) this;
        }

        public Criteria andProcamountGreaterThan(Float value) {
            addCriterion("ProcAmount >", value, "procamount");
            return (Criteria) this;
        }

        public Criteria andProcamountGreaterThanOrEqualTo(Float value) {
            addCriterion("ProcAmount >=", value, "procamount");
            return (Criteria) this;
        }

        public Criteria andProcamountLessThan(Float value) {
            addCriterion("ProcAmount <", value, "procamount");
            return (Criteria) this;
        }

        public Criteria andProcamountLessThanOrEqualTo(Float value) {
            addCriterion("ProcAmount <=", value, "procamount");
            return (Criteria) this;
        }

        public Criteria andProcamountIn(List<Float> values) {
            addCriterion("ProcAmount in", values, "procamount");
            return (Criteria) this;
        }

        public Criteria andProcamountNotIn(List<Float> values) {
            addCriterion("ProcAmount not in", values, "procamount");
            return (Criteria) this;
        }

        public Criteria andProcamountBetween(Float value1, Float value2) {
            addCriterion("ProcAmount between", value1, value2, "procamount");
            return (Criteria) this;
        }

        public Criteria andProcamountNotBetween(Float value1, Float value2) {
            addCriterion("ProcAmount not between", value1, value2, "procamount");
            return (Criteria) this;
        }

        public Criteria andProcdiscountIsNull() {
            addCriterion("ProcDiscount is null");
            return (Criteria) this;
        }

        public Criteria andProcdiscountIsNotNull() {
            addCriterion("ProcDiscount is not null");
            return (Criteria) this;
        }

        public Criteria andProcdiscountEqualTo(Float value) {
            addCriterion("ProcDiscount =", value, "procdiscount");
            return (Criteria) this;
        }

        public Criteria andProcdiscountNotEqualTo(Float value) {
            addCriterion("ProcDiscount <>", value, "procdiscount");
            return (Criteria) this;
        }

        public Criteria andProcdiscountGreaterThan(Float value) {
            addCriterion("ProcDiscount >", value, "procdiscount");
            return (Criteria) this;
        }

        public Criteria andProcdiscountGreaterThanOrEqualTo(Float value) {
            addCriterion("ProcDiscount >=", value, "procdiscount");
            return (Criteria) this;
        }

        public Criteria andProcdiscountLessThan(Float value) {
            addCriterion("ProcDiscount <", value, "procdiscount");
            return (Criteria) this;
        }

        public Criteria andProcdiscountLessThanOrEqualTo(Float value) {
            addCriterion("ProcDiscount <=", value, "procdiscount");
            return (Criteria) this;
        }

        public Criteria andProcdiscountIn(List<Float> values) {
            addCriterion("ProcDiscount in", values, "procdiscount");
            return (Criteria) this;
        }

        public Criteria andProcdiscountNotIn(List<Float> values) {
            addCriterion("ProcDiscount not in", values, "procdiscount");
            return (Criteria) this;
        }

        public Criteria andProcdiscountBetween(Float value1, Float value2) {
            addCriterion("ProcDiscount between", value1, value2, "procdiscount");
            return (Criteria) this;
        }

        public Criteria andProcdiscountNotBetween(Float value1, Float value2) {
            addCriterion("ProcDiscount not between", value1, value2, "procdiscount");
            return (Criteria) this;
        }

        public Criteria andProccostIsNull() {
            addCriterion("ProcCost is null");
            return (Criteria) this;
        }

        public Criteria andProccostIsNotNull() {
            addCriterion("ProcCost is not null");
            return (Criteria) this;
        }

        public Criteria andProccostEqualTo(Float value) {
            addCriterion("ProcCost =", value, "proccost");
            return (Criteria) this;
        }

        public Criteria andProccostNotEqualTo(Float value) {
            addCriterion("ProcCost <>", value, "proccost");
            return (Criteria) this;
        }

        public Criteria andProccostGreaterThan(Float value) {
            addCriterion("ProcCost >", value, "proccost");
            return (Criteria) this;
        }

        public Criteria andProccostGreaterThanOrEqualTo(Float value) {
            addCriterion("ProcCost >=", value, "proccost");
            return (Criteria) this;
        }

        public Criteria andProccostLessThan(Float value) {
            addCriterion("ProcCost <", value, "proccost");
            return (Criteria) this;
        }

        public Criteria andProccostLessThanOrEqualTo(Float value) {
            addCriterion("ProcCost <=", value, "proccost");
            return (Criteria) this;
        }

        public Criteria andProccostIn(List<Float> values) {
            addCriterion("ProcCost in", values, "proccost");
            return (Criteria) this;
        }

        public Criteria andProccostNotIn(List<Float> values) {
            addCriterion("ProcCost not in", values, "proccost");
            return (Criteria) this;
        }

        public Criteria andProccostBetween(Float value1, Float value2) {
            addCriterion("ProcCost between", value1, value2, "proccost");
            return (Criteria) this;
        }

        public Criteria andProccostNotBetween(Float value1, Float value2) {
            addCriterion("ProcCost not between", value1, value2, "proccost");
            return (Criteria) this;
        }

        public Criteria andFinishcountIsNull() {
            addCriterion("FinishCount is null");
            return (Criteria) this;
        }

        public Criteria andFinishcountIsNotNull() {
            addCriterion("FinishCount is not null");
            return (Criteria) this;
        }

        public Criteria andFinishcountEqualTo(Float value) {
            addCriterion("FinishCount =", value, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountNotEqualTo(Float value) {
            addCriterion("FinishCount <>", value, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountGreaterThan(Float value) {
            addCriterion("FinishCount >", value, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountGreaterThanOrEqualTo(Float value) {
            addCriterion("FinishCount >=", value, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountLessThan(Float value) {
            addCriterion("FinishCount <", value, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountLessThanOrEqualTo(Float value) {
            addCriterion("FinishCount <=", value, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountIn(List<Float> values) {
            addCriterion("FinishCount in", values, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountNotIn(List<Float> values) {
            addCriterion("FinishCount not in", values, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountBetween(Float value1, Float value2) {
            addCriterion("FinishCount between", value1, value2, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishcountNotBetween(Float value1, Float value2) {
            addCriterion("FinishCount not between", value1, value2, "finishcount");
            return (Criteria) this;
        }

        public Criteria andFinishstateIsNull() {
            addCriterion("FinishState is null");
            return (Criteria) this;
        }

        public Criteria andFinishstateIsNotNull() {
            addCriterion("FinishState is not null");
            return (Criteria) this;
        }

        public Criteria andFinishstateEqualTo(String value) {
            addCriterion("FinishState =", value, "finishstate");
            return (Criteria) this;
        }

        public Criteria andFinishstateNotEqualTo(String value) {
            addCriterion("FinishState <>", value, "finishstate");
            return (Criteria) this;
        }

        public Criteria andFinishstateGreaterThan(String value) {
            addCriterion("FinishState >", value, "finishstate");
            return (Criteria) this;
        }

        public Criteria andFinishstateGreaterThanOrEqualTo(String value) {
            addCriterion("FinishState >=", value, "finishstate");
            return (Criteria) this;
        }

        public Criteria andFinishstateLessThan(String value) {
            addCriterion("FinishState <", value, "finishstate");
            return (Criteria) this;
        }

        public Criteria andFinishstateLessThanOrEqualTo(String value) {
            addCriterion("FinishState <=", value, "finishstate");
            return (Criteria) this;
        }

        public Criteria andFinishstateLike(String value) {
            addCriterion("FinishState like", value, "finishstate");
            return (Criteria) this;
        }

        public Criteria andFinishstateNotLike(String value) {
            addCriterion("FinishState not like", value, "finishstate");
            return (Criteria) this;
        }

        public Criteria andFinishstateIn(List<String> values) {
            addCriterion("FinishState in", values, "finishstate");
            return (Criteria) this;
        }

        public Criteria andFinishstateNotIn(List<String> values) {
            addCriterion("FinishState not in", values, "finishstate");
            return (Criteria) this;
        }

        public Criteria andFinishstateBetween(String value1, String value2) {
            addCriterion("FinishState between", value1, value2, "finishstate");
            return (Criteria) this;
        }

        public Criteria andFinishstateNotBetween(String value1, String value2) {
            addCriterion("FinishState not between", value1, value2, "finishstate");
            return (Criteria) this;
        }

        public Criteria andRecmemoIsNull() {
            addCriterion("RecMemo is null");
            return (Criteria) this;
        }

        public Criteria andRecmemoIsNotNull() {
            addCriterion("RecMemo is not null");
            return (Criteria) this;
        }

        public Criteria andRecmemoEqualTo(String value) {
            addCriterion("RecMemo =", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoNotEqualTo(String value) {
            addCriterion("RecMemo <>", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoGreaterThan(String value) {
            addCriterion("RecMemo >", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoGreaterThanOrEqualTo(String value) {
            addCriterion("RecMemo >=", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoLessThan(String value) {
            addCriterion("RecMemo <", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoLessThanOrEqualTo(String value) {
            addCriterion("RecMemo <=", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoLike(String value) {
            addCriterion("RecMemo like", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoNotLike(String value) {
            addCriterion("RecMemo not like", value, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoIn(List<String> values) {
            addCriterion("RecMemo in", values, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoNotIn(List<String> values) {
            addCriterion("RecMemo not in", values, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoBetween(String value1, String value2) {
            addCriterion("RecMemo between", value1, value2, "recmemo");
            return (Criteria) this;
        }

        public Criteria andRecmemoNotBetween(String value1, String value2) {
            addCriterion("RecMemo not between", value1, value2, "recmemo");
            return (Criteria) this;
        }

        public Criteria andProcunitIsNull() {
            addCriterion("ProcUnit is null");
            return (Criteria) this;
        }

        public Criteria andProcunitIsNotNull() {
            addCriterion("ProcUnit is not null");
            return (Criteria) this;
        }

        public Criteria andProcunitEqualTo(Float value) {
            addCriterion("ProcUnit =", value, "procunit");
            return (Criteria) this;
        }

        public Criteria andProcunitNotEqualTo(Float value) {
            addCriterion("ProcUnit <>", value, "procunit");
            return (Criteria) this;
        }

        public Criteria andProcunitGreaterThan(Float value) {
            addCriterion("ProcUnit >", value, "procunit");
            return (Criteria) this;
        }

        public Criteria andProcunitGreaterThanOrEqualTo(Float value) {
            addCriterion("ProcUnit >=", value, "procunit");
            return (Criteria) this;
        }

        public Criteria andProcunitLessThan(Float value) {
            addCriterion("ProcUnit <", value, "procunit");
            return (Criteria) this;
        }

        public Criteria andProcunitLessThanOrEqualTo(Float value) {
            addCriterion("ProcUnit <=", value, "procunit");
            return (Criteria) this;
        }

        public Criteria andProcunitIn(List<Float> values) {
            addCriterion("ProcUnit in", values, "procunit");
            return (Criteria) this;
        }

        public Criteria andProcunitNotIn(List<Float> values) {
            addCriterion("ProcUnit not in", values, "procunit");
            return (Criteria) this;
        }

        public Criteria andProcunitBetween(Float value1, Float value2) {
            addCriterion("ProcUnit between", value1, value2, "procunit");
            return (Criteria) this;
        }

        public Criteria andProcunitNotBetween(Float value1, Float value2) {
            addCriterion("ProcUnit not between", value1, value2, "procunit");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}